package com.nectech.entity;

import com.nectech.client.MapleStoryClient;

import java.awt.*;

/**
 * @Author: 浅小北
 * @ClassName: Ground
 * @Description:
 * @Date: 2021/2/1 18:16
 * @Since: version-1.0
 */
public class Ground extends AbstractMapleStoryObject{
    public Image img;
    public MapleStoryClient msc;
    public Ground() {}

    public Ground(MapleStoryClient msc,int x,int y,int width,int height) {
        this.msc = msc;
        this.x = x;
        this.y = y;
        this.width = width;
        this.height = height;
    }
    @Override
    public void draw(Graphics g) {
        Color color = g.getColor();
        
        g.setColor(Color.white);
        g.drawRect(x,y,width,height);
        g.setColor(color);
    }
}
